package com.woniu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.entity.PageData;
import com.woniu.entity.dto.ExperimentDTO;
import com.woniu.pojo.Comment;
import com.woniu.pojo.Experiment;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xiaosong
 * @since 2023-04-03
 */
public interface IExperimentService extends IService<Experiment> {

//    分页查询实验详情表
    PageData search(Integer currentPage, Integer pageSize, ExperimentDTO experimentDTO);
//    按照id查询
    List<Experiment> selectByid(Integer id);

    Integer updateExperment(Experiment experiment);

    boolean saveExperiment(Experiment experiment);

    Experiment findByid(Integer id);
}
